package com.codepilot.server.service;


import org.springframework.web.multipart.MultipartFile;
import com.codepilot.server.model.vo.CommonResult;
import com.codepilot.server.model.vo.DisplayUserVO;

public interface UserService {

    CommonResult<?> getInfo();

    CommonResult<?> modify(DisplayUserVO displayUserVO);

    CommonResult<?> modifyAvatar(MultipartFile file);

    CommonResult<?> forget(String email);

    CommonResult<?> checkCaptcha(String email, String captcha);

    CommonResult<?> passwd(String email, String oldPassword, String password);

    CommonResult<?> logout();

    CommonResult<?> unregister();

    Integer getUserId(String username);

}
